//
//  LTDatePickerView.h
//  LearnTeacher
//
//  Created by zyl on 2024/4/19.
//

#import <UIKit/UIKit.h>
#import "DatePickerView.h"
NS_ASSUME_NONNULL_BEGIN
typedef void(^confirmBlock)(NSString *date);
@interface LTDatePickerView : UIView

@property (weak, nonatomic) IBOutlet UIView *showTimeV;

@property (weak, nonatomic) IBOutlet UIView *datePickerV;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *showTimeTop;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *datePickerBottom;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *datePickerHeight;

@property (weak, nonatomic) IBOutlet UITextField *startDate;

@property (weak, nonatomic) IBOutlet UITextField *endDate;

@property (weak, nonatomic) IBOutlet UILabel *titleLab;

@property (strong, nonatomic)DatePickerView *datePicker;

@property (copy, nonatomic)confirmBlock block;

@property (assign, nonatomic)int type;

- (void)setUI;

- (void)showView;

- (void)dismissView;
@end

NS_ASSUME_NONNULL_END
